DevOwl\RealCookieBanner\Utils B

Total Complexity 91
Dependencies 4
Dependents 58
Total lines 540
Lines of code 301
Logical lines of code 158
Comment lines 221
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
setCookie()
A
41 9 63
isFrontend()
A
57 9 17
host()
A
52 8 22
parseHtmlAttributes()
S
50 7 28
isPluginActive()
S
55 6 19
isRest()
S
57 6 15
posts_where_find_in_set()
S
55 4 18
isPageBuilder()
S
68 5 7
currentContentTypeIs()
S
60 4 13
getIpAddress()
S
61 4 12
getActivePluginsMap()
S
61 3 12
htmlAttributes()
S
62 3 11
giveHost()
S
69 3 5
endsWith()
S
68 2 7
flatten()
S
67 2 8
hash()
S
65 2 8
isCLI()
S
78 2 3
isPageBuilderFrontend()
S
70 2 6
anyPluginActive()
S
72 2 4
isPreinstalledEnvironment()
S
68 2 7
isJson()
S
73 2 4
isHtml()
S
78 2 3
startsWith()
S
74 1 4
createRegxpPatternFromWildcardedName()
S
70 1 5